<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/12/11
  Time: 11:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<jsp:useBean id="usersBean" class="com.example.demo.usersBean" />
<h2> <jsp:getProperty name="usersBean" property="name"/> </h2>

<form action="users" method="post" >
    <input type="text" name="name" >
    <input type="password" name="pass">
    <input type="submit" value="注册">
</form>

</body>
</html>